﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    ValidateRequest="false" CodeFile="Default.aspx.cs" Inherits="Admin_Default" %>

<%@ Register Assembly="RichTextEditor" Namespace="AjaxControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPlace" runat="Server">
  
    <div class="content">
    <div class="defFirst">
        <asp:HiddenField ID="hfID" runat="server" />
        <asp:Label runat="server" ID="lblPageName"></asp:Label><br />
        <asp:TextBox ID="txtPageTitle" runat="server" Width="400px"></asp:TextBox><br />
        <asp:Label runat="server" ID="lblKeywords"></asp:Label><br />
        <asp:TextBox ID="txtKeywords" runat="server" Width="400px"></asp:TextBox><br />
        <asp:Label runat="server" ID="lblDescription"></asp:Label><br />
        <asp:TextBox ID="txtDescription" runat="server" Width="400px"></asp:TextBox><br />
        <asp:HyperLink runat="server" ID="hlImages" Text="images" NavigateUrl="~/Admin/images.aspx"></asp:HyperLink><br />
        <asp:Label runat="server" ID="lblTextTitle"></asp:Label><br />
        <asp:TextBox ID="txtMainBlockTitle" runat="server" Width="400px"></asp:TextBox><br />
        <asp:Label runat="server" ID="lblTextContent" Text="Статья"></asp:Label><br />
        <asp:TextBox runat="server" ID="txtContent" TextMode="MultiLine" Height="150px" Width="400px"></asp:TextBox>
        <br />
        <asp:Button ID="btnArticleSave" runat="server" Text="Сохранить" OnClick="btnArticleSave_Click" />
        </div>
        <asp:Panel runat="server" ID="hpNewsBlock" CssClass="hpNewsBlock" Visible="false">
            <div style="width: 100%; height: 550px;">
                <div class="LeftBox">
                    <asp:Label runat="server" ID="lblLeftUpload" />
                    
                    <asp:FileUpload runat="server" ID="uplLeft" />
                    <asp:HiddenField runat="server" ID="hfImgLeft" />
                    <asp:Image runat="server" ID="imgLeft" AlternateText="Image left" />
                    <div>
                        <asp:Label runat="server" ID="lblLeftTitle" />
                    </div>
                    <asp:HiddenField runat="server" id="hfBlckLeft" />
                    <asp:TextBox runat="server" ID="txtTTLLeft"></asp:TextBox>
                    <div>
                        <asp:Label runat="server" ID="lblLeftText" />
                    </div>
                    <asp:TextBox runat="server" ID="txtBlockLeft" TextMode="MultiLine"> </asp:TextBox>
                </div>
                <div class="CenterBox">
                    <asp:Label runat="server" ID="lblCenterUpload" />
                    <asp:FileUpload runat="server" ID="uplCenter" />
                    <asp:HiddenField runat="server" ID="hfImgCenter" />
                    <asp:Image runat="server" ID="imgCenter" AlternateText="image Center" />
                    <div>
                        <asp:Label runat="server" ID="lblCenterTItle" />
                    </div>
                    <asp:HiddenField runat="server" id="hfCtrlBlck" />
                    <asp:TextBox runat="server" ID="txtTTLCenter"></asp:TextBox>
                    <div>
                        <asp:Label runat="server" ID="lblCenterText" />
                    </div>
                    <asp:TextBox runat="server" ID="txtBlockCenter" TextMode="MultiLine"></asp:TextBox>
                </div>
                <div class="RightBox">
                    <asp:Label runat="server" ID="lblRightUpload" />
                    <asp:FileUpload runat="server" ID="uplRight" />
                    <asp:HiddenField runat="server" ID="hfImgRight" />
                    <asp:Image runat="server" ID="imgRight" AlternateText="Image Right" />
                    <div>
                        <asp:Label runat="server" ID="lblRightTitle" />
                    </div>
                    <asp:HiddenField runat="server" id="hfRtBlck" />
                    <asp:TextBox runat="server" ID="txtTTLRight"></asp:TextBox>
                    <div>
                        <asp:Label runat="server" ID="lblRightText" />
                    </div>
                    <asp:TextBox runat="server" ID="txtBlockRight" TextMode="MultiLine"></asp:TextBox>
                </div>
            </div>
            <asp:Button runat="server" Text="Сохранить" ID="btnSaveThree" OnClick="btnThreeBlocksSave_Click" />
        </asp:Panel>
    </div>
</asp:Content>
